//
//  XLCryptoTool+JFCloudChat.h
//  JFCloundChat
//
//  Created by ilongge on 2021/12/2.
//

#import "XLCryptoTool.h"

@interface XLCryptoTool (JFCloudChat)
/**
 * AES加密_JFCloundChat
 * @param encryptData  需要加密的二进制数据
 */
+ (NSData *)cloudChatEncryptWithData:(NSData *)encryptData;

/**
 * AES加密_JFCloundChat
 * @param encryptText  需要加密的字符串
 */
+ (NSString *)cloudChatEncryptWithText:(NSString *)encryptText;

/**
 * AES解密_JFCloundChat
 * @param decryptData  需要解密的二进制数据
 */
+ (NSData *)cloudChatDecryptWithData:(NSData *)decryptData;

/**
 * AES解密_JFCloundChat
 * @param decryptText  需要解密的字符串
 */
+ (NSString *)cloudChatDecryptWithText:(NSString *)decryptText;
/**
 * BASE64编码_JFCloundChat
 * @param encodeText  需要编码的字符串
 */
+ (NSString *)base64Encode:(NSString *)encodeText;
/**
 * BASE64解码_JFCloundChat
 * @param encodeText  需要解码的字符串
 */
+ (NSString *)base64Decode:(NSString *)decodeText;
@end


